﻿//Write a program that reads the radius r of a circle and prints its perimeter and area.

using System;

class CalcCircleAreaAndPerimeter
{
    static void Main()
    {
        Console.Write("Enter Circle radius: r = ");
        double circleRadius = double.Parse(Console.ReadLine());

        double circlePerimeter = 2 * Math.PI * circleRadius;
        double circleArea = Math.PI * circleRadius * circleRadius;

        Console.WriteLine("The Circle parameters are:");
        Console.WriteLine("Perimeter: C = {0, 10:0.00}", circlePerimeter);
        Console.WriteLine("Area:      A = {0, 10:0.00}", circleArea);
    }
}
